package com.lyf.boot.core.model;

import com.lyf.boot.base.system.entity.SysRole;
import lombok.Data;
import lombok.experimental.Accessors;

import java.io.Serial;
import java.io.Serializable;
import java.util.List;

/**
 * @author Luyufan
 * @date 2023/7/3 15:13
 */
@Data
@Accessors(chain = true)
public class LoginUser implements Serializable {

    @Serial
    private static final long serialVersionUID = 1989061802274246014L;

    private Long userId;

    private String username;

    private String realName;

    private String nickName;

    private String avatar;

    private Long deptId;

    private List<SysRole> roles;

}
